/* #include "../include/MySQLClient.h" */
/* #include "../include/Logger.h" */
/* #include <iostream> */

/* using std::cout; */
/* using std::endl; */

/* void showTableDatas(myNameSpace::MySQLClient &mysqlClient) { */
/*     const string sql = "select * from student;"; */
/*     vector<vector<string>> result = mysqlClient.readOperationQuery(sql); */
/*     for (auto &row : result) { */
/*         for (auto &item : row) { */
/*             cout << item << "\t"; */
/*         } */
/*         cout << "\n"; */
/*     } */
/* } */

/* void test() { */
/*     myNameSpace::MySQLClient mysqlClient; */
/*     /1* mysqlClient.init(); *1/ */
/*     mysqlClient.connect("localhost", "root", "1234", "test", 0); */
/*     showTableDatas(mysqlClient); */
/*     string sql = "insert into student(name, birth, chinese, math, english) values('李四', '2002-01-01', 80, 96, 77);"; */
/*     if (mysqlClient.writeOperationQuery(sql)) { */
/*         moqi::LOG_INFO("Insert success."); */
/*     } */
/*     showTableDatas(mysqlClient); */
/*     sql = "update student set math = 87 where name = '李四';"; */
/*     if (mysqlClient.writeOperationQuery(sql)) { */
/*         moqi::LOG_INFO("Update success."); */
/*     } */
/*     showTableDatas(mysqlClient); */
/*     sql = "delete from student where name = '李四';"; */
/*     if (mysqlClient.writeOperationQuery(sql)) { */
/*         moqi::LOG_INFO("Delete success."); */
/*     } */
/*     showTableDatas(mysqlClient); */
/* } */

/* int main() { */
/*     test(); */
/*     return 0; */
/* } */
